package cn.stylefeng.guns.modular.bi.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.bi.entity.TransportRegistrationShiftSchedule;
import cn.stylefeng.guns.modular.bi.model.params.TransportRegistrationShiftScheduleParam;
import cn.stylefeng.guns.modular.bi.model.result.TransportRegistrationShiftScheduleResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 临时卡打卡班次表 服务类
 * </p>
 *
 * @author zhangzh
 * @since 2024-07-30
 */
public interface TransportRegistrationShiftScheduleService extends IService<TransportRegistrationShiftSchedule> {

    /**
     * 新增
     *
     * @author zhangzh
     * @Date 2024-07-30
     */
    void add(TransportRegistrationShiftScheduleParam param);

    /**
     * 删除
     *
     * @author zhangzh
     * @Date 2024-07-30
     */
    void delete(TransportRegistrationShiftScheduleParam param);

    /**
     * 更新
     *
     * @author zhangzh
     * @Date 2024-07-30
     */
    void update(TransportRegistrationShiftScheduleParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhangzh
     * @Date 2024-07-30
     */
    TransportRegistrationShiftScheduleResult findBySpec(TransportRegistrationShiftScheduleParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhangzh
     * @Date 2024-07-30
     */
    List<TransportRegistrationShiftScheduleResult> findListBySpec(TransportRegistrationShiftScheduleParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhangzh
     * @Date 2024-07-30
     */
     LayuiPageInfo findPageBySpec(TransportRegistrationShiftScheduleParam param, String condition);

}
